package com.ruoyi.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.project.domain.entity.PhaseDictionary;
import com.ruoyi.project.domain.query.PhaseDictionaryQuery;

import java.util.List;
import java.util.Map;

public interface IPhaseDictionaryService extends IService<PhaseDictionary> {
    //分页方法
    TableDataInfo getDictionaryPage(PhaseDictionaryQuery query);

    //新增
    Boolean saveDictionary(PhaseDictionary phaseDictionary);

    //修改
    Boolean updateDictionary(PhaseDictionary phaseDictionary);

    //删除
    Boolean deleteDictionarys(Integer id);

    //获取详情
    PhaseDictionary selectPhaseDictionaryById(Integer id);

    Map<String, Object> getNextPermission(PhaseDictionaryQuery query);

    Map<String, Object> getAllPermission(PhaseDictionaryQuery query);

    Map<String, Object> checkRule(PhaseDictionaryQuery query);

    void checkCosting(String projectNo);


}
